wget https://download.java.net/java/GA/jdk22/830ec9fcccef480bb3e73fb7ecafe059/36/GPL/openjdk-22_linux-x64_bin.tar.gz
wget https://archive.apache.org/dist/tomcat/tomcat-10/v10.1.9/bin/apache-tomcat-10.1.9.tar.gz
wget http://nginx.org/download/nginx-1.22.1.tar.gz


# nginx依赖包（反向代理，根据访问路径将路径发送到不同的端口服务）
sudo apt install libpcre3 libpcre3-dev
sudo apt install zlib1g-dev
sudo apt install openssl libssl-dev
sudo apt install gcc


# 编译
cd nginx-1.22.1
./configure
make
make install
sudo /usr/local/nginx/sbin/nginx
ps -aux|grep nginx
# /usr/local/nginx/sbin/nginx -s quit

vim /usr/local/nginx/conf/nginx.conf